package cn.net.shuxing.yifu.common.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.io.Serializable;

@Data
public class UserRealInfo extends BaseBean implements Serializable{
	@Id
	@Column
	private Integer id;
	@Column
	private String realName;
	@Column
	private Integer cardTypeId;
	@Column
	private String idCardNum;
	@Column
	private String idCardFrontPhoto;
	@Column
	private String idCardBackPhoto;
	@Column
	private String takingCardPhoto;
	@Column
	private Integer type;
	@Column
	private Integer verified;
	@Column
	private Integer deleted;
	@Column
	private java.time.LocalDateTime createTime;
	@Column
	private java.time.LocalDateTime updateTime;

	@Transient
	private String idCardFrontPhotoUrl;

	@Transient
	private String takingCardPhotoUrl;

	@Transient
	private String cardTypeName;

}

/*
{
	id:用户id,
	realName:真实姓名,
	cardTypeId:证件类型id,
	idCardNum:证件号,
	idCardFrontPhoto:身份证正面照(有人脸的)路径,
	idCardBackPhoto:身份证背面照(有国徽的)路径,
	takingCardPhoto:手持身份证照片,
	type:类型（1-对应user表的用户  2-对应sys_user表的用户）(作废),
	verified:是否通过审核,0未通过,1通过,默认为0,
	deleted:是否已被删除，0表示未被删除，1表示已被删除,
	createTime:创建时间,
	updateTime:最新修改时间
}

*/
